package com.njit.mailm.core.service;

import com.njit.mailm.core.bean.Upload;
import com.njit.mailm.core.bean.User;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * Created by Administrator on 2016/5/8.
 */
public interface UploadService {
    boolean uploadAttchement(User user, MultipartFile file ,String basePath,String draftId);

    List<Upload> findAttachment(String draftId);
}
